package edu.spec.student.service.iface;

import edu.spec.student.model.Message;
import org.madgecko.basic.model.Pager;

import java.util.List;

public interface IMessageService {
    void add(Message message);
    Message load(Integer messageId);
    Pager<Message> findByMessageDate();
    List<Message> listByStudent(Integer studentId);
}
